package com.ssis.core;

import java.util.Random;

public class CrewNameGenerator {
	static Random rand;
	private static String[] fName;
	private static String[] lName;
	
	public static void init(Random random) {
		rand = random;
		fName = new String[] {
				"Steve",
				"Sarah",
				"Mike",
				"Dean",
				"Alexa",
				"Rob",
				"Amanda",
				"Rachel"
		};
		lName = new String[] {
				"Smith",
				"Jones",
				"Carver",
				"Baker",
				"Young",
				"White",
				"Murray",
				"Jackson",
				"Evans"
		};
	}
	
	public static String randomName() {
		return fName[rand.nextInt(fName.length)] + " " + lName[rand.nextInt(lName.length)];
	}
}
